﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace OhioState.Controls
{
    public partial class OpenVolumeFilesBatch : Form
    {
        public OpenVolumeFilesBatch()
        {
            InitializeComponent();
            okButton.DialogResult = DialogResult.OK;
            cancelButton.DialogResult = DialogResult.Cancel;
            dataTypeComboBox.SelectedIndex = 1;
        }

        public void SetNumberFiles(int fileNumber)
        {
            this.numFilesLabel.Text = "Number of files in batch: " + fileNumber;
        }

        public void GetVolumeFilesDimensions(out int x, out int y, out int z)
        {
            x = (int)numericUpDownSizeX.Value;
            y = (int)numericUpDownSizeY.Value;
            z = (int)numericUpDownSizeZ.Value;
        }

        public String GetVolumeDataType()
        {
            return (String)dataTypeComboBox.SelectedItem;
        }
    }
}
